﻿Imports System.ComponentModel.DataAnnotations
Imports System.Runtime.Serialization
Namespace DataContract

    '<KnownType(GetType(IDictionary))>
    <DataContract(Namespace:="PowerShellCron")>
    <KnownType(GetType(DateTimeOffset?))>
    Public Class RunningJobInfo
        <DataMember> Public JobId As Integer
        <DataMember> Public Name As String
        <DataMember> Public Script As String
        <DataMember> Public ForceDebug As Boolean = False
        <DataMember> Public ForceVerbose As Boolean = False
        <DataMember> Public AllowMultiple As Boolean = False
        <DataMember> Public HistoryID As Int64
        <DataMember> Public Status As String
        <DataMember> Public User As String
        <DataMember> Public OnDemand As Boolean
        <DataMember> Public Parameters As IDictionary
    End Class
End Namespace